package com.example.user_service.otherservice;

import com.example.user_service.return_data.Mall_Data;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(name = "MEMURBACSERVICE")
public interface Otherservice
{
    @RequestMapping("/reachbytypeidmemu")
     Mall_Data get(@RequestParam(name = "typeid",required = false) int id);

    @RequestMapping("/selectrole")
    Mall_Data SelectRole(@RequestParam("role_name")String role_name);
}
